/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.service.errmsg;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.server.common.persistence.Page;
import com.server.common.service.CrudService;
import com.server.modules.sys.entity.errmsg.ErrMsg;
import com.server.modules.sys.dao.errmsg.ErrMsgDao;

/**
 * 错误代码管理Service
 * @author 王磊
 * @version 2016-08-22
 */
@Service
@Transactional(readOnly = true)
public class ReturnMsgService extends CrudService<ErrMsgDao, ErrMsg> {

	public ErrMsg get(String id) {
		return super.get(id);
	}
	
	public List<ErrMsg> findList(ErrMsg errMsg) {
		return super.findList(errMsg);
	}
	
	public Page<ErrMsg> findPage(Page<ErrMsg> page, ErrMsg errMsg) {
		return super.findPage(page, errMsg);
	}
	
	@Transactional(readOnly = false)
	public void save(ErrMsg errMsg) {
		super.save(errMsg);
	}
	
	@Transactional(readOnly = false)
	public void delete(ErrMsg errMsg) {
		super.delete(errMsg);
	}
	
}